Developer Documentation

QuickTime 4 API Documentation

QuickTime 4 Reference

| Previous | Chapter Contents | Chapter Top | Next |

Effect Frame Description

This data structure contains the parameters of a single frame of an effect. It is passed to the MyEffectBegin and MyEffectRenderFrame functions to describe the frame to be rendered.

struct EffectsFrameParams {
    ICMFrameTimeRecord  frameTime;
    long                effectDuration;
    Boolean             doAsync;
    unsigned char       pad[3];
    EffectSourcePtr     source;
    void *              refCon;
};
typedef struct EffectsFrameParams EffectsFrameParams;
typedef EffectsFrameParams *EffectsFrameParamsPtr;

Field descriptions

frameTime
Timing data for the current frame. This record includes information such as the total number of frames being rendered in this sequence, and the current frame number.

effectDuration
The duration of a single effect frame.

doAsync
This field contains true if the effect can process asynchronously.

source
A pointer to the input sources.

refCon
A pointer to storage for this instantiation of the effect.


© 1999 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |